﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcBangDiem.ascx.cs" Inherits="STT.Profilehv.UserControls.UcBangDiem" %>
<link href="../css/style.css" rel="stylesheet" />
<link href="../css/bootstrap.css" rel="stylesheet" />
<div id="biography" class="page home" data-pos="home">
    <div style="width:80%">
        <div class="row">
            <div class="col-md-7" style="margin-top:50px;">
                <h1 class="title"><span id="ctl02_DtlIndex_Label1_0">Bảng điểm cá nhân</span></h1>
            </div>
        </div>
        <div style="margin-top: 10px">
            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false">Xem tất cả các năm</asp:LinkButton><br />
            <br />
            <asp:Label ID="Label9" runat="server" Text="Nhập năm học xem điểm (vd:2010)" Font-Size="12px"></asp:Label>
            <asp:TextBox ID="txttimkiem" runat="server" CssClass="form-control" Width="200px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="diem" ErrorMessage="*" ForeColor="Red" Font-Bold="true" ControlToValidate="txttimkiem" ToolTip="Bạn chưa nhập năm tìm kiếm"></asp:RequiredFieldValidator>
            <asp:Button ID="btntimkiemnam" runat="server" Text="Xem" Width="70px" CssClass="btn-primary btn" ValidationGroup="diem"  OnClick="btntimkiemnam_Click" />
        </div>
        <div style="margin-top: 10px; min-height: 300px;" class="grid_scroll" id="divload" runat="server">
            <asp:DataList ID="dtldiem" runat="server" Width="100%" CellSpacing="1" OnItemDataBound="dtldiem_ItemDataBound">
                <HeaderTemplate>
                    <asp:Table ID="Table1" runat="server" Width="100%" CssClass="view-table">
                        <asp:TableHeaderRow CssClass="headerdiem">
                            <asp:TableCell Width="50px" HorizontalAlign="Center">
                                <asp:Label ID="Label15" runat="server" Text="STT"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell Width="340px" HorizontalAlign="Center">
                                <asp:Label ID="Label17" runat="server" Text="Tên môn học"></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell HorizontalAlign="Center">
                                <asp:Label ID="Label18" runat="server" Text="Điểm tổng kết"></asp:Label>
                            </asp:TableCell>
                        </asp:TableHeaderRow>
                        <asp:TableRow CssClass="Namhoc">
                            <asp:TableCell ColumnSpan="3" >                
                                <asp:Label ID="Label10" runat="server" Text=""></asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </HeaderTemplate>
                <%--<AlternatingItemTemplate>
                 <asp:Label ID="Label10" runat="server" Text="Năm học 2010" Width="100%" BackColor="#cccccc" Font-Bold="true" Font-Size="13px" Height="20px" ForeColor="Black"></asp:Label>
            </AlternatingItemTemplate>--%>
                <ItemTemplate>
                    <asp:Table ID="Table1" runat="server" Width="100%" CssClass="view-table2">
                        <asp:TableRow>
                            <asp:TableCell Width="50px" HorizontalAlign="Center">
                                    <%# Container.ItemIndex + 1 %>
                            </asp:TableCell>
                            <asp:TableCell Width="340px" HorizontalAlign="Center">
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("TenMonHoc") %>'></asp:Label>
                            </asp:TableCell>
                            <asp:TableCell HorizontalAlign="Center">
                                <asp:Label ID="Label19" runat="server" Text='<%# Eval("DiemTK") %>'></asp:Label>
                            </asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                </ItemTemplate>
                <FooterTemplate>
                    <div style="font-size: 13px;">
                        <div style="padding: 5px; border-left-style: solid; border-bottom-style: solid; border-bottom-width: thin; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-right-color: #E6E6E6; border-bottom-color: #E6E6E6; border-left-color: #E6E6E6;">
                            <asp:Label ID="lbldiemtb" runat="server" Text="Điểm tổng kết các môn : 9.4"></asp:Label>
                        </div>
                        <div style="padding: 5px; border-left-style: solid; border-bottom-style: solid; border-bottom-width: thin; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-right-color: #E6E6E6; border-bottom-color: #E6E6E6; border-left-color: #E6E6E6;">
                            <asp:Label ID="lblxeploai" runat="server" Text="Xếp loại : Xuất sắc"></asp:Label>
                        </div>
                    </div>
                </FooterTemplate>
                <AlternatingItemStyle BorderColor="#0066FF" />
                <ItemStyle BorderColor="#CC00CC" />
                <SelectedItemStyle BorderColor="#0066FF" />
            </asp:DataList>
            <asp:Panel ID="Pnthongbao" runat="server" CssClass="Notice-Info" Visible="false">
                <span>Không tìm thấy dữ liệu ,vui lòng xem lại</span>
            </asp:Panel>
        </div>
    </div>
</div>
